home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 July / CHIP 2006-07.2.iso / program / web_gelistirme / easyphp1-7_setup.exe / {app} / safe / php-safe.ini < prev   
Encoding:
INI File  |  2003-08-29  |  39.6 KB  |  1,113 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About this file ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ;
  7. ; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
  8. ; sets some non standard settings, that make PHP more efficient, more secure,
  9. ; and encourage cleaner coding.
  10. ; The price is that with these settings, PHP may be incompatible with some
  11. ; applications, and sometimes, more difficult to develop with.  Using this
  12. ; file is warmly recommended for production sites.  As all of the changes from
  13. ; the standard settings are thoroughly documented, you can go over each one,
  14. ; and decide whether you want to use it or not.
  15. ;
  16. ; For general information about the php.ini file, please consult the php.ini-dist
  17. ; file, included in your PHP distribution.
  18. ;
  19. ; This file is different from the php.ini-dist file in the fact that it features
  20. ; different values for several directives, in order to improve performance, while
  21. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  22. ; PHP 3.  Please make sure you read what's different, and modify your scripts
  23. ; accordingly, if you decide to use this file instead.
  24. ;
  25. ; - register_globals = Off         [Security, Performance]
  26. ;     Global variables are no longer registered for input data (POST, GET, cookies,
  27. ;     environment and other server variables).  Instead of using $foo, you must use
  28. ;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
  29. ;     request, namely, POST, GET and cookie variables), or use one of the specific
  30. ;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
  31. ;     on where the input originates.  Also, you can look at the
  32. ;     import_request_variables() function.
  33. ;     Note that register_globals is going to be depracated (i.e., turned off by
  34. ;     default) in the next version of PHP, because it often leads to security bugs.
  35. ;     Read http://php.net/manual/en/security.registerglobals.php for further
  36. ;     information.
  37. ; - display_errors = Off           [Security]
  38. ;     With this directive set to off, errors that occur during the execution of
  39. ;     scripts will no longer be displayed as a part of the script output, and thus,
  40. ;     will no longer be exposed to remote users.  With some errors, the error message
  41. ;     content may expose information about your script, web server, or database
  42. ;     server that may be exploitable for hacking.  Production sites should have this
  43. ;     directive set to off.
  44. ; - log_errors = On                [Security]
  45. ;     This directive complements the above one.  Any errors that occur during the
  46. ;     execution of your script will be logged (typically, to your server's error log,
  47. ;     but can be configured in several ways).  Along with setting display_errors to off,
  48. ;     this setup gives you the ability to fully understand what may have gone wrong,
  49. ;     without exposing any sensitive information to remote users.
  50. ; - output_buffering = 4096        [Performance]
  51. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  52. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  53. ;     better performance.  The gain this directive actually yields greatly depends
  54. ;     on which Web server you're working with, and what kind of scripts you're using.
  55. ; - register_argc_argv = Off       [Performance]
  56. ;     Disables registration of the somewhat redundant $argv and $argc global
  57. ;     variables.
  58. ; - magic_quotes_gpc = Off         [Performance]
  59. ;     Input data is no longer escaped with slashes so that it can be sent into
  60. ;     SQL databases without further manipulation.  Instead, you should use the
  61. ;     function addslashes() on each input element you wish to send to a database.
  62. ; - variables_order = "GPCS"       [Performance]
  63. ;     The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
  64. ;     environment variables, you can use getenv() instead.
  65. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  66. ;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
  67. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  68. ;     problem.  Most notably, this will cause error messages about the use
  69. ;     of uninitialized variables to be displayed.
  70. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  71. ;     It's not possible to decide to force a variable to be passed by reference
  72. ;     when calling a function.  The PHP 4 style to do this is by making the
  73. ;     function require the relevant argument by reference.
  74.  
  75.  
  76. ;;;;;;;;;;;;;;;;;;;;
  77. ; Language Options ;
  78. ;;;;;;;;;;;;;;;;;;;;
  79.  
  80. ; Enable the PHP scripting language engine under Apache.
  81. engine = On
  82.  
  83. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
  84. ; NOTE: Using short tags should be avoided when developing applications or
  85. ; libraries that are meant for redistribution, or deployment on PHP
  86. ; servers which are not under your control, because short tags may not
  87. ; be supported on the target server. For portable, redistributable code,
  88. ; be sure not to use short tags.
  89. short_open_tag = On
  90.  
  91. ; Allow ASP-style <% %> tags.
  92. asp_tags = Off
  93.  
  94. ; The number of significant digits displayed in floating point numbers.
  95. precision    =  14
  96.  
  97. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  98. y2k_compliance = On
  99.  
  100. ; Output buffering allows you to send header lines (including cookies) even
  101. ; after you send body content, at the price of slowing PHP's output layer a
  102. ; bit.  You can enable output buffering during runtime by calling the output
  103. ; buffering functions.  You can also enable output buffering for all files by
  104. ; setting this directive to On.  If you wish to limit the size of the buffer
  105. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  106. ; a value for this directive (e.g., output_buffering=4096).
  107. output_buffering = 4096
  108.  
  109. ; You can redirect all of the output of your scripts to a function.  For
  110. ; example, if you set output_handler to "mb_output_handler", character
  111. ; encoding will be transparently converted to the specified encoding.
  112. ; Setting any output handler automatically turns on output buffering.
  113. ; Note: People who wrote portable scripts should not depend on this ini
  114. ;       directive. Instead, explicitly set the output handler using ob_start().
  115. ;       Using this ini directive may cause problems unless you know what script 
  116. ;       is doing.
  117. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  118. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
  119. ;output_handler =
  120.  
  121. ; Transparent output compression using the zlib library
  122. ; Valid values for this option are 'off', 'on', or a specific buffer size
  123. ; to be used for compression (default is 4KB)
  124. ; Note: Resulting chunk size may vary due to nature of compression. PHP 
  125. ;       outputs chunks that are few handreds bytes each as a result of compression. 
  126. ;       If you want larger chunk size for better performence, enable output_buffering 
  127. ;       also. 
  128. ; Note: output_handler must be empty if this is set 'On' !!!!
  129. ;       Instead you must use zlib.output_handler.
  130. zlib.output_compression = Off
  131.  
  132. ; You cannot specify additional output handlers if zlib.output_compression
  133. ; is activated here. This setting does the same as output_handler but in
  134. ; a different order.
  135. ;zlib.output_handler =
  136.  
  137. ; Implicit flush tells PHP to tell the output layer to flush itself
  138. ; automatically after every output block.  This is equivalent to calling the
  139. ; PHP function flush() after each and every call to print() or echo() and each
  140. ; and every HTML block.  Turning this option on has serious performance
  141. ; implications and is generally recommended for debugging purposes only.
  142. implicit_flush = Off
  143.  
  144. ; The unserialize callback function will called (with the undefind class'
  145. ; name as parameter), if the unserializer finds an undefined class
  146. ; which should be instanciated.
  147. ; A warning appears if the specified function is not defined, or if the
  148. ; function doesn't include/implement the missing class.
  149. ; So only set this entry, if you really want to implement such a 
  150. ; callback-function.
  151. unserialize_callback_func=
  152.  
  153. ; When floats & doubles are serialized store serialize_precision significant
  154. ; digits after the floating point. The default value ensures that when floats
  155. ; are decoded with unserialize, the data will remain the same.
  156. serialize_precision = 100
  157.  
  158. ; Whether to enable the ability to force arguments to be passed by reference
  159. ; at function call time.  This method is deprecated and is likely to be
  160. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  161. ; specifying which arguments should be passed by reference is in the function
  162. ; declaration.  You're encouraged to try and turn this option Off and make
  163. ; sure your scripts work properly with it in order to ensure they will work
  164. ; with future versions of the language (you will receive a warning each time
  165. ; you use this feature, and the argument will be passed by value instead of by
  166. ; reference).
  167. allow_call_time_pass_reference = Off
  168.  
  169. ;
  170. ; Safe Mode
  171. ;
  172. safe_mode = Off
  173.  
  174. ; By default, Safe Mode does a UID compare check when
  175. ; opening files. If you want to relax this to a GID compare,
  176. ; then turn on safe_mode_gid.
  177. safe_mode_gid = Off
  178.  
  179. ; When safe_mode is on, UID/GID checks are bypassed when
  180. ; including files from this directory and its subdirectories.
  181. ; (directory must also be in include_path or full path must
  182. ; be used when including)
  183. safe_mode_include_dir =                                
  184.  
  185. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  186. ; will be allowed to be executed via the exec family of functions.
  187. safe_mode_exec_dir =
  188.  
  189. ; Setting certain environment variables may be a potential security breach.
  190. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  191. ; the user may only alter environment variables whose names begin with the
  192. ; prefixes supplied here.  By default, users will only be able to set
  193. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  194. ;
  195. ; Note:  If this directive is empty, PHP will let the user modify ANY
  196. ; environment variable!
  197. safe_mode_allowed_env_vars = PHP_
  198.  
  199. ; This directive contains a comma-delimited list of environment variables that
  200. ; the end user won't be able to change using putenv().  These variables will be
  201. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  202. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  203.  
  204. ; open_basedir, if set, limits all file operations to the defined directory
  205. ; and below.  This directive makes most sense if used in a per-directory
  206. ; or per-virtualhost web server configuration file. This directive is
  207. ; *NOT* affected by whether Safe Mode is turned On or Off.
  208. ;open_basedir =
  209.  
  210. ; This directive allows you to disable certain functions for security reasons.
  211. ; It receives a comma-delimited list of function names. This directive is
  212. ; *NOT* affected by whether Safe Mode is turned On or Off.
  213. disable_functions =
  214.  
  215. ; This directive allows you to disable certain classes for security reasons.
  216. ; It receives a comma-delimited list of class names. This directive is
  217. ; *NOT* affected by whether Safe Mode is turned On or Off.
  218. disable_classes =
  219.  
  220. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  221. ; <font color="??????"> would work.
  222. ;highlight.string  = #DD0000
  223. ;highlight.comment = #FF9900
  224. ;highlight.keyword = #007700
  225. ;highlight.bg      = #FFFFFF
  226. ;highlight.default = #0000BB
  227. ;highlight.html    = #000000
  228.  
  229.  
  230. ;
  231. ; Misc
  232. ;
  233. ; Decides whether PHP may expose the fact that it is installed on the server
  234. ; (e.g. by adding its signature to the Web server header).  It is no security
  235. ; threat in any way, but it makes it possible to determine whether you use PHP
  236. ; on your server or not.
  237. expose_php = On
  238.  
  239.  
  240. ;;;;;;;;;;;;;;;;;;;
  241. ; Resource Limits ;
  242. ;;;;;;;;;;;;;;;;;;;
  243.  
  244. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  245. max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
  246. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  247.  
  248.  
  249. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  250. ; Error handling and logging ;
  251. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  252.  
  253. ; error_reporting is a bit-field.  Or each number up to get desired error
  254. ; reporting level
  255. ; E_ALL             - All errors and warnings
  256. ; E_ERROR           - fatal run-time errors
  257. ; E_WARNING         - run-time warnings (non-fatal errors)
  258. ; E_PARSE           - compile-time parse errors
  259. ; E_NOTICE          - run-time notices (these are warnings which often result
  260. ;                     from a bug in your code, but it's possible that it was
  261. ;                     intentional (e.g., using an uninitialized variable and
  262. ;                     relying on the fact it's automatically initialized to an
  263. ;                     empty string)
  264. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  265. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  266. ;                     initial startup
  267. ; E_COMPILE_ERROR   - fatal compile-time errors
  268. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  269. ; E_USER_ERROR      - user-generated error message
  270. ; E_USER_WARNING    - user-generated warning message
  271. ; E_USER_NOTICE     - user-generated notice message
  272. ;
  273. ; Examples:
  274. ;
  275. ;   - Show all errors, except for notices
  276. ;
  277. ;error_reporting = E_ALL & ~E_NOTICE
  278. ;
  279. ;   - Show only errors
  280. ;
  281. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  282. ;
  283. ;   - Show all errors
  284. ;
  285. error_reporting  =  E_ALL
  286.  
  287. ; Print out errors (as a part of the output).  For production web sites,
  288. ; you're strongly encouraged to turn this feature off, and use error logging
  289. ; instead (see below).  Keeping display_errors enabled on a production web site
  290. ; may reveal security information to end users, such as file paths on your Web
  291. ; server, your database schema or other information.
  292. display_errors = On
  293.  
  294. ; Even when display_errors is on, errors that occur during PHP's startup
  295. ; sequence are not displayed.  It's strongly recommended to keep
  296. ; display_startup_errors off, except for when debugging.
  297. display_startup_errors = Off
  298.  
  299. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  300. ; As stated above, you're strongly advised to use error logging in place of
  301. ; error displaying on production web sites.
  302. log_errors = On
  303.  
  304. ; Set maximum length of log_errors. In error_log information about the source is
  305. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  306. log_errors_max_len = 1024
  307.  
  308. ; Do not log repeated messages. Repeated errors must occur in same file on same
  309. ; line until ignore_repeated_source is set true.
  310. ignore_repeated_errors = Off
  311.  
  312. ; Ignore source of message when ignoring repeated messages. When this setting 
  313. ; is On you will not log errors with repeated messages from different files or
  314. ; sourcelines.
  315. ignore_repeated_source = Off
  316.  
  317. ; If this parameter is set to Off, then memory leaks will not be shown (on
  318. ; stdout or in the log). This has only effect in a debug compile, and if 
  319. ; error reporting includes E_WARNING in the allowed list
  320. report_memleaks = On
  321.  
  322. ; Store the last error/warning message in $php_errormsg (boolean).
  323. track_errors = Off
  324.  
  325. ; Disable the inclusion of HTML tags in error messages.
  326. ;html_errors = Off
  327.  
  328. ; If html_errors is set On PHP produces clickable error messages that direct 
  329. ; to a page describing the error or function causing the error in detail.
  330. ; You can download a copy of the PHP manual from http://www.php.net/docs.php 
  331. ; and change docref_root to the base URL of your local copy including the
  332. ; leading '/'. You must also specify the file extension being used including 
  333. ; the dot.
  334. ;docref_root = "/phpmanual/"
  335. ;docref_ext = .html
  336.   
  337. ; String to output before an error message.
  338. ;error_prepend_string = "<font color=ff0000>"
  339.  
  340. ; String to output after an error message.
  341. ;error_append_string = "</font>"
  342.  
  343. ; Log errors to specified file.
  344. ;error_log = filename
  345.  
  346. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  347. ;error_log = syslog
  348.  
  349.  
  350. ;;;;;;;;;;;;;;;;;
  351. ; Data Handling ;
  352. ;;;;;;;;;;;;;;;;;
  353. ;
  354. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  355.  
  356. ; The separator used in PHP generated URLs to separate arguments.
  357. ; Default is "&". 
  358. ;arg_separator.output = "&"
  359.  
  360. ; List of separator(s) used by PHP to parse input URLs into variables.
  361. ; Default is "&". 
  362. ; NOTE: Every character in this directive is considered as separator!
  363. ;arg_separator.input = ";&"
  364.  
  365. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  366. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  367. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  368. ; values override older values.
  369. variables_order = "GPCS"
  370.  
  371. ; Whether or not to register the EGPCS variables as global variables.  You may
  372. ; want to turn this off if you don't want to clutter your scripts' global scope
  373. ; with user data.  This makes most sense when coupled with track_vars - in which
  374. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  375. ; variables.
  376. ;
  377. ; You should do your best to write your scripts so that they do not require
  378. ; register_globals to be on;  Using form variables as globals can easily lead
  379. ; to possible security problems, if the code is not very well thought of.
  380. register_globals = Off
  381.  
  382. ; This directive tells PHP whether to declare the argv&argc variables (that
  383. ; would contain the GET information).  If you don't use these variables, you
  384. ; should turn it off for increased performance.
  385. register_argc_argv = Off
  386.  
  387. ; Maximum size of POST data that PHP will accept.
  388. post_max_size = 8M
  389.  
  390. ; This directive is deprecated.  Use variables_order instead.
  391. gpc_order = "GPC"
  392.  
  393. ; Magic quotes
  394. ;
  395.  
  396. ; Magic quotes for incoming GET/POST/Cookie data.
  397. magic_quotes_gpc = Off
  398.  
  399. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  400. magic_quotes_runtime = Off    
  401.  
  402. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  403. magic_quotes_sybase = Off
  404.  
  405. ; Automatically add files before or after any PHP document.
  406. auto_prepend_file =
  407. auto_append_file =
  408.  
  409. ; As of 4.0b4, PHP always outputs a character encoding by default in
  410. ; the Content-type: header.  To disable sending of the charset, simply
  411. ; set it to be empty.
  412. ;
  413. ; PHP's built-in default is text/html
  414. default_mimetype = "text/html"
  415. ;default_charset = "iso-8859-1"
  416.  
  417. ; Always populate the $HTTP_RAW_POST_DATA variable.                               
  418. ;always_populate_raw_post_data = On
  419.  
  420.  
  421. ;;;;;;;;;;;;;;;;;;;;;;;;;
  422. ; Paths and Directories ;
  423. ;;;;;;;;;;;;;;;;;;;;;;;;;
  424.  
  425. ; UNIX: "/path1:/path2"  
  426. ;include_path = ".:/php/includes"
  427. ;
  428. ; Windows: "\path1;\path2"
  429. include_path = ".;$path$\php\pear\"
  430.  
  431. ; The root of the PHP pages, used only if nonempty.
  432. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  433. ; if you are running php as a CGI under any web server (other than IIS)
  434. ; see documentation for security issues.  The alternate is to use the
  435. ; cgi.force_redirect configuration below
  436. doc_root =
  437.  
  438. ; The directory under which PHP opens the script using /~usernamem used only
  439. ; if nonempty.
  440. user_dir =
  441.  
  442. ; Directory in which the loadable extensions (modules) reside.
  443. extension_dir = "$path$\php\extensions\"
  444.  
  445. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  446. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  447. ; disabled on them.
  448. enable_dl = On
  449.  
  450. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  451. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  452. ; turn it off here AT YOUR OWN RISK
  453. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  454. ; cgi.force_redirect = 1
  455.  
  456. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  457. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  458. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  459. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  460. ; cgi.redirect_status_env = ;
  461.  
  462. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
  463. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  464. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
  465. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
  466. ; of zero causes PHP to behave as before.  Default is zero.  You should fix your scripts
  467. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  468. ; cgi.fix_pathinfo=1
  469.  
  470. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  471. ; security tokens of the calling client.  This allows IIS to define the
  472. ; security context that the request runs under.  mod_fastcgi under Apache
  473. ; does not currently support this feature (03/17/2002)
  474. ; Set to 1 if running under IIS.  Default is zero.
  475. ; fastcgi.impersonate = 1;
  476.  
  477. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  478. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  479. ; is supported by Apache. When this option is set to 1 PHP will send
  480. ; RFC2616 compliant header.
  481. ; Default is zero.
  482. ;cgi.rfc2616_headers = 0 
  483.  
  484.  
  485. ;;;;;;;;;;;;;;;;
  486. ; File Uploads ;
  487. ;;;;;;;;;;;;;;;;
  488.  
  489. ; Whether to allow HTTP file uploads.
  490. file_uploads = On
  491.  
  492. ; Temporary directory for HTTP uploaded files (will use system default if not
  493. ; specified).
  494. upload_tmp_dir = "$path$\tmp\"
  495.  
  496. ; Maximum allowed size for uploaded files.
  497. upload_max_filesize = 2M
  498.  
  499.  
  500. ;;;;;;;;;;;;;;;;;;
  501. ; Fopen wrappers ;
  502. ;;;;;;;;;;;;;;;;;;
  503.  
  504. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  505. allow_url_fopen = On
  506.  
  507. ; Define the anonymous ftp password (your email address)
  508. ;from="john@doe.com"
  509.  
  510. ; Define the user agent for php to send
  511. ;user_agent="PHP"
  512.  
  513. ; Default timeout for socket based streams (seconds)
  514. default_socket_timeout = 60
  515.  
  516. ; If your scripts have to deal with files from Macintosh systems,
  517. ; or you are running on a Mac and need to deal with files from
  518. ; unix or win32 systems, setting this flag will cause PHP to
  519. ; automatically detect the EOL character in those files so that
  520. ; fgets() and file() will work regardless of the source of the file.
  521. ; auto_detect_line_endings = Off
  522.  
  523.  
  524. ;;;;;;;;;;;;;;;;;;;
  525. ; Module Settings ;
  526. ;;;;;;;;;;;;;;;;;;;
  527.  
  528. [Syslog]
  529. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  530. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  531. ; runtime, you can define these variables by calling define_syslog_variables().
  532. define_syslog_variables  = Off
  533.  
  534. [mail function]
  535. ; For Win32 only.
  536. SMTP = localhost
  537.  
  538. ; For Win32 only.
  539. sendmail_from = me@localhost.com
  540.  
  541. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  542. ;sendmail_path =
  543.  
  544. [Java]
  545. ;java.class.path = .\php_java.jar
  546. ;java.home = c:\jdk
  547. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  548. ;java.library.path = .\
  549.  
  550. [SQL]
  551. sql.safe_mode = Off
  552.  
  553. [ODBC]
  554. ;odbc.default_db    =  Not yet implemented
  555. ;odbc.default_user  =  Not yet implemented
  556. ;odbc.default_pw    =  Not yet implemented
  557.  
  558. ; Allow or prevent persistent links.
  559. odbc.allow_persistent = On
  560.  
  561. ; Check that a connection is still valid before reuse.
  562. odbc.check_persistent = On
  563.  
  564. ; Maximum number of persistent links.  -1 means no limit.
  565. odbc.max_persistent = -1
  566.  
  567. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  568. odbc.max_links = -1  
  569.  
  570. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  571. ; passthru.
  572. odbc.defaultlrl = 4096  
  573.  
  574. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  575. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  576. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  577. odbc.defaultbinmode = 1  
  578.  
  579. [MySQL]
  580. ; Allow or prevent persistent links.
  581. mysql.allow_persistent = On
  582.  
  583. ; Maximum number of persistent links.  -1 means no limit.
  584. mysql.max_persistent = -1
  585.  
  586. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  587. mysql.max_links = -1
  588.  
  589. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  590. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  591. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  592. ; at MYSQL_PORT.
  593. mysql.default_port =
  594.  
  595. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  596. ; MySQL defaults.
  597. mysql.default_socket =
  598.  
  599. ; Default host for mysql_connect() (doesn't apply in safe mode).
  600. mysql.default_host =
  601.  
  602. ; Default user for mysql_connect() (doesn't apply in safe mode).
  603. mysql.default_user =
  604.  
  605. ; Default password for mysql_connect() (doesn't apply in safe mode).
  606. ; Note that this is generally a *bad* idea to store passwords in this file.
  607. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  608. ; and reveal this password!  And of course, any users with read access to this
  609. ; file will be able to reveal the password as well.
  610. mysql.default_password =
  611.  
  612. ; Maximum time (in secondes) for connect timeout. -1 means no limimt
  613. mysql.connect_timeout = 60
  614.  
  615. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  616. ; SQL-Erros will be displayed.
  617. mysql.trace_mode = Off
  618.  
  619. [mSQL]
  620. ; Allow or prevent persistent links.
  621. msql.allow_persistent = On
  622.  
  623. ; Maximum number of persistent links.  -1 means no limit.
  624. msql.max_persistent = -1
  625.  
  626. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  627. msql.max_links = -1
  628.  
  629. [PostgresSQL]
  630. ; Allow or prevent persistent links.
  631. pgsql.allow_persistent = On
  632.  
  633. ; Detect broken persistent links always with pg_pconnect(). 
  634. ; Auto reset feature requires a little overheads.
  635. pgsql.auto_reset_persistent = Off
  636.  
  637. ; Maximum number of persistent links.  -1 means no limit.
  638. pgsql.max_persistent = -1
  639.  
  640. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  641. pgsql.max_links = -1
  642.  
  643. ; Ignore PostgreSQL backends Notice message or not.
  644. ; Notice message logging require a little overheads.
  645. pgsql.ignore_notice = 0
  646.  
  647. ; Log PostgreSQL backends Noitce message or not.
  648. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  649. pgsql.log_notice = 0
  650.  
  651. [Sybase]
  652. ; Allow or prevent persistent links.
  653. sybase.allow_persistent = On
  654.  
  655. ; Maximum number of persistent links.  -1 means no limit.
  656. sybase.max_persistent = -1
  657.  
  658. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  659. sybase.max_links = -1
  660.  
  661. ;sybase.interface_file = "/usr/sybase/interfaces"
  662.  
  663. ; Minimum error severity to display.
  664. sybase.min_error_severity = 10
  665.  
  666. ; Minimum message severity to display.
  667. sybase.min_message_severity = 10
  668.  
  669. ; Compatability mode with old versions of PHP 3.0.
  670. ; If on, this will cause PHP to automatically assign types to results according
  671. ; to their Sybase type, instead of treating them all as strings.  This
  672. ; compatability mode will probably not stay around forever, so try applying
  673. ; whatever necessary changes to your code, and turn it off.
  674. sybase.compatability_mode = Off
  675.  
  676. [Sybase-CT]
  677. ; Allow or prevent persistent links.
  678. sybct.allow_persistent = On
  679.  
  680. ; Maximum number of persistent links.  -1 means no limit.
  681. sybct.max_persistent = -1
  682.  
  683. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  684. sybct.max_links = -1
  685.  
  686. ; Minimum server message severity to display.
  687. sybct.min_server_severity = 10
  688.  
  689. ; Minimum client message severity to display.
  690. sybct.min_client_severity = 10
  691.  
  692. [dbx]
  693. ; returned column names can be converted for compatibility reasons
  694. ; possible values for dbx.colnames_case are
  695. ; "unchanged" (default, if not set)
  696. ; "lowercase"
  697. ; "uppercase"
  698. ; the recommended default is either upper- or lowercase, but
  699. ; unchanged is currently set for backwards compatibility
  700. dbx.colnames_case = "lowercase"
  701.  
  702. [bcmath]
  703. ; Number of decimal digits for all bcmath functions.
  704. bcmath.scale = 0
  705.  
  706. [browscap]
  707. ;browscap = extra/browscap.ini
  708.  
  709. [Informix]
  710. ; Default host for ifx_connect() (doesn't apply in safe mode).
  711. ifx.default_host =
  712.  
  713. ; Default user for ifx_connect() (doesn't apply in safe mode).
  714. ifx.default_user =
  715.  
  716. ; Default password for ifx_connect() (doesn't apply in safe mode).
  717. ifx.default_password =
  718.  
  719. ; Allow or prevent persistent links.
  720. ifx.allow_persistent = On
  721.  
  722. ; Maximum number of persistent links.  -1 means no limit.
  723. ifx.max_persistent = -1
  724.  
  725. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  726. ifx.max_links = -1
  727.  
  728. ; If on, select statements return the contents of a text blob instead of its id.
  729. ifx.textasvarchar = 0
  730.  
  731. ; If on, select statements return the contents of a byte blob instead of its id.
  732. ifx.byteasvarchar = 0
  733.  
  734. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  735. ; life of Informix SE users.
  736. ifx.charasvarchar = 0
  737.  
  738. ; If on, the contents of text and byte blobs are dumped to a file instead of
  739. ; keeping them in memory.
  740. ifx.blobinfile = 0
  741.  
  742. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  743. ; NULL's are returned as string 'NULL'.
  744. ifx.nullformat = 0
  745.  
  746. [Session]
  747. ; Handler used to store/retrieve data.
  748. session.save_handler = files
  749.  
  750. ; Argument passed to save_handler.  In the case of files, this is the path
  751. ; where data files are stored. Note: Windows users have to change this 
  752. ; variable in order to use PHP's session functions.
  753. session.save_path = "$path$\tmp\"
  754.  
  755. ; Whether to use cookies.
  756. session.use_cookies = 1
  757.  
  758. ; This option enables administrators to make their users invulnerable to 
  759. ; attacks which involve passing session ids in URLs; defaults to 0.
  760. ; session.use_only_cookies = 1
  761.  
  762. ; Name of the session (used as cookie name).
  763. session.name = PHPSESSID
  764.  
  765. ; Initialize session on request startup.
  766. session.auto_start = 0
  767.  
  768. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  769. session.cookie_lifetime = 0
  770.  
  771. ; The path for which the cookie is valid.
  772. session.cookie_path = /
  773.  
  774. ; The domain for which the cookie is valid.
  775. session.cookie_domain =
  776.  
  777. ; Handler used to serialize data.  php is the standard serializer of PHP.
  778. session.serialize_handler = php
  779.  
  780. ; Define the probability that the 'garbage collection' process is started
  781. ; on every session initialization.
  782. ; The probability is calculated by using gc_probability/gc_divisor,
  783. ; e.g. 1/100 means there is a 1% chance that the GC process starts
  784. ; on each request.
  785.  
  786. session.gc_probability = 1
  787. session.gc_divisor     = 1000
  788.  
  789. ; After this number of seconds, stored data will be seen as 'garbage' and
  790. ; cleaned up by the garbage collection process.
  791. session.gc_maxlifetime = 1440
  792.  
  793. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  794. ; to initialize a session variable in the global scope, albeit register_globals
  795. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  796. ; You can disable the feature and the warning seperately. At this time,
  797. ; the warning is only displayed, if bug_compat_42 is enabled.
  798.  
  799. session.bug_compat_42 = 0
  800. session.bug_compat_warn = 1
  801.  
  802. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  803. ; HTTP_REFERER has to contain this substring for the session to be
  804. ; considered as valid.
  805. session.referer_check =
  806.  
  807. ; How many bytes to read from the file.
  808. session.entropy_length = 0
  809.  
  810. ; Specified here to create the session id.
  811. session.entropy_file =
  812.  
  813. ;session.entropy_length = 16
  814.  
  815. ;session.entropy_file = /dev/urandom
  816.  
  817. ; Set to {nocache,private,public,} to determine HTTP caching aspects.
  818. ; or leave this empty to avoid sending anti-caching headers.
  819. session.cache_limiter = nocache
  820.  
  821. ; Document expires after n minutes.
  822. session.cache_expire = 180
  823.  
  824. ; trans sid support is disabled by default.
  825. ; Use of trans sid may risk your users security.
  826. ; Use this option with caution.
  827. ; - User may send URL contains active session ID
  828. ;   to other person via. email/irc/etc.
  829. ; - URL that contains active session ID may be stored
  830. ;   in publically accessible computer. 
  831. ; - User may access your site with the same session ID
  832. ;   always using URL stored in browser's history or bookmarks.
  833. session.use_trans_sid = 0
  834.  
  835. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  836. ; form/fieldset are special; if you include them here, the rewriter will
  837. ; add a hidden <input> field with the info which is otherwise appended
  838. ; to URLs.  If you want XHTML conformity, remove the form entry.
  839. ; Note that all valid entries require a "=", even if no value follows.
  840. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  841.  
  842. [MSSQL]
  843. ; Allow or prevent persistent links.
  844. mssql.allow_persistent = On
  845.  
  846. ; Maximum number of persistent links.  -1 means no limit.
  847. mssql.max_persistent = -1
  848.  
  849. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  850. mssql.max_links = -1
  851.  
  852. ; Minimum error severity to display.
  853. mssql.min_error_severity = 10
  854.  
  855. ; Minimum message severity to display.
  856. mssql.min_message_severity = 10
  857.  
  858. ; Compatability mode with old versions of PHP 3.0.
  859. mssql.compatability_mode = Off
  860.  
  861. ; Connect timeout
  862. ;mssql.connect_timeout = 5
  863.  
  864. ; Query timeout
  865. ;mssql.timeout = 60
  866.  
  867. ; Valid range 0 - 2147483647.  Default = 4096.
  868. ;mssql.textlimit = 4096
  869.  
  870. ; Valid range 0 - 2147483647.  Default = 4096.
  871. ;mssql.textsize = 4096
  872.  
  873. ; Limits the number of records in each batch.  0 = all records in one batch.
  874. ;mssql.batchsize = 0
  875.  
  876. ; Specify how datetime and datetim4 columns are returned
  877. ; On => Returns data converted to SQL server settings
  878. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  879. ;mssql.datetimeconvert = On
  880.  
  881. ; Use NT authentication when connecting to the server
  882. mssql.secure_connection = Off
  883.  
  884. ; Specify max number of processes. Default = 25
  885. ;mssql.max_procs = 25
  886.  
  887. [Assertion]
  888. ; Assert(expr); active by default.
  889. ;assert.active = On
  890.  
  891. ; Issue a PHP warning for each failed assertion.
  892. ;assert.warning = On
  893.  
  894. ; Don't bail out by default.
  895. ;assert.bail = Off
  896.  
  897. ; User-function to be called if an assertion fails.
  898. ;assert.callback = 0
  899.  
  900. ; Eval the expression with current error_reporting().  Set to true if you want
  901. ; error_reporting(0) around the eval().
  902. ;assert.quiet_eval = 0
  903.  
  904. [Ingres II]
  905. ; Allow or prevent persistent links.
  906. ingres.allow_persistent = On
  907.  
  908. ; Maximum number of persistent links.  -1 means no limit.
  909. ingres.max_persistent = -1
  910.  
  911. ; Maximum number of links, including persistents.  -1 means no limit.
  912. ingres.max_links = -1
  913.  
  914. ; Default database (format: [node_id::]dbname[/srv_class]).
  915. ingres.default_database =
  916.  
  917. ; Default user.
  918. ingres.default_user =
  919.  
  920. ; Default password.
  921. ingres.default_password =
  922.  
  923. [Verisign Payflow Pro]
  924. ; Default Payflow Pro server.
  925. pfpro.defaulthost = "test-payflow.verisign.com"
  926.  
  927. ; Default port to connect to.
  928. pfpro.defaultport = 443
  929.  
  930. ; Default timeout in seconds.
  931. pfpro.defaulttimeout = 30
  932.  
  933. ; Default proxy IP address (if required).
  934. ;pfpro.proxyaddress =
  935.  
  936. ; Default proxy port.
  937. ;pfpro.proxyport =
  938.  
  939. ; Default proxy logon.
  940. ;pfpro.proxylogon =
  941.  
  942. ; Default proxy password.
  943. ;pfpro.proxypassword =
  944.  
  945. [Sockets]
  946. ; Use the system read() function instead of the php_read() wrapper.
  947. sockets.use_system_read = On
  948.  
  949. [com]
  950. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  951. ;com.typelib_file = 
  952. ; allow Distributed-COM calls
  953. ;com.allow_dcom = true
  954. ; autoregister constants of a components typlib on com_load()
  955. ;com.autoregister_typelib = true
  956. ; register constants casesensitive
  957. ;com.autoregister_casesensitive = false
  958. ; show warnings on duplicate constat registrations
  959. ;com.autoregister_verbose = true
  960.  
  961. [Printer]
  962. ;printer.default_printer = ""
  963.  
  964. [mbstring]
  965. ; language for internal character representation.
  966. ;mbstring.language = Japanese
  967.  
  968. ; internal/script encoding.
  969. ; Some encoding cannot work as internal encoding.
  970. ; (e.g. SJIS, BIG5, ISO-2022-*)
  971. ;mbstring.internal_encoding = EUC-JP
  972.  
  973. ; http input encoding.
  974. ;mbstring.http_input = auto
  975.  
  976. ; http output encoding. mb_output_handler must be
  977. ; registered as output buffer to function
  978. ;mbstring.http_output = SJIS
  979.  
  980. ; enable automatic encoding translation accoding to 
  981. ; mbstring.internal_encoding setting. Input chars are
  982. ; converted to internal encoding by setting this to On.
  983. ; Note: Do _not_ use automatic encoding translation for
  984. ;       portable libs/applications.
  985. ;mbstring.encoding_translation = Off
  986.  
  987. ; automatic encoding detection order.
  988. ; auto means 
  989. ;mbstring.detect_order = auto
  990.  
  991. ; substitute_character used when character cannot be converted
  992. ; one from another
  993. ;mbstring.substitute_character = none;
  994.  
  995. ; overload(replace) single byte functions by mbstring functions.
  996. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  997. ; etc. Possible values are 0,1,2,4 or combination of them.
  998. ; For example, 7 for overload everything.
  999. ; 0: No overload
  1000. ; 1: Overload mail() function
  1001. ; 2: Overload str*() functions
  1002. ; 4: Overload ereg*() functions
  1003. ;mbstring.func_overload = 0
  1004.  
  1005. [FrontBase]
  1006. ;fbsql.allow_persistent = On
  1007. ;fbsql.autocommit = On
  1008. ;fbsql.default_database = 
  1009. ;fbsql.default_database_password =
  1010. ;fbsql.default_host =
  1011. ;fbsql.default_password =
  1012. ;fbsql.default_user = "_SYSTEM"
  1013. ;fbsql.generate_warnings = Off
  1014. ;fbsql.max_connections = 128
  1015. ;fbsql.max_links = 128
  1016. ;fbsql.max_persistent = -1
  1017. ;fbsql.max_results = 128
  1018. ;fbsql.batchSize = 1000
  1019.  
  1020. [Crack]
  1021. ; Modify the setting below to match the directory location of the cracklib
  1022. ; dictionary files.  Include the base filename, but not the file extension.
  1023. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  1024.  
  1025. [exif]
  1026. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
  1027. ; With mbstring support this will automatically be converted into the encoding
  1028. ; given by corresponding encode setting. When empty mbstring.internal_encoding 
  1029. ; is used. For the decode settings you can distinguish between motorola and 
  1030. ; intel byte order. A decode setting cannot be empty.
  1031. ;exif.encode_unicode = ISO-8859-15
  1032. ;exif.decode_unicode_motorola = UCS-2BE
  1033. ;exif.decode_unicode_intel    = UCS-2LE
  1034. ;exif.encode_jis = 
  1035. ;exif.decode_jis_motorola = JIS
  1036. ;exif.decode_jis_intel    = JIS
  1037.  
  1038. ; Local Variables:
  1039. ; tab-width: 4
  1040. ; End:
  1041.  
  1042.  
  1043. ;;;;;;;;;;;;;;;;;;;;;;
  1044. ; Dynamic Extensions ;
  1045. ;;;;;;;;;;;;;;;;;;;;;;
  1046. ;
  1047. ; If you wish to have an extension loaded automatically, use the following
  1048. ; syntax:
  1049. ;
  1050. ;   extension=modulename.extension
  1051. ;
  1052. ; For example, on Windows:
  1053. ;
  1054. ;   extension=msql.dll
  1055. ;
  1056. ; ... or under UNIX:
  1057. ;
  1058. ;   extension=msql.so
  1059. ;
  1060. ; Note that it should be the name of the module only; no directory information 
  1061. ; needs to go here.  Specify the location of the extension with the
  1062. ; extension_dir directive above.
  1063.  
  1064.  
  1065. ;Windows Extensions
  1066. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  1067. ;
  1068. ;PHPExt
  1069. ;extension=php_bz2.dll
  1070. ;extension=php_cpdf.dll
  1071. ;extension=php_crack.dll
  1072. ;extension=php_curl.dll
  1073. ;extension=php_db.dll
  1074. ;extension=php_dba.dll
  1075. ;extension=php_dbase.dll
  1076. ;extension=php_dbx.dll
  1077. ;extension=php_domxml.dll
  1078. ;extension=php_exif.dll
  1079. ;extension=php_fdf.dll
  1080. ;extension=php_filepro.dll
  1081. ;extension=php_gd2.dll
  1082. ;extension=php_gettext.dll
  1083. ;extension=php_hyperwave.dll
  1084. ;extension=php_iconv.dll
  1085. ;extension=php_ifx.dll
  1086. ;extension=php_iisfunc.dll
  1087. ;extension=php_imap.dll
  1088. ;extension=php_interbase.dll
  1089. ;extension=php_java.dll
  1090. ;extension=php_ldap.dll
  1091. ;extension=php_mbstring.dll
  1092. ;extension=php_mcrypt.dll
  1093. ;extension=php_mhash.dll
  1094. ;extension=php_mime_magic.dll
  1095. ;extension=php_ming.dll
  1096. ;extension=php_mssql.dll
  1097. ;extension=php_msql.dll
  1098. ;extension=php_oci8.dll
  1099. ;extension=php_openssl.dll
  1100. ;extension=php_oracle.dll
  1101. ;extension=php_pdf.dll
  1102. ;extension=php_pgsql.dll
  1103. ;extension=php_printer.dll
  1104. ;extension=php_shmop.dll
  1105. ;extension=php_snmp.dll
  1106. ;extension=php_sockets.dll
  1107. ;extension=php_sybase_ct.dll
  1108. ;extension=php_w32api.dll
  1109. ;extension=php_xmlrpc.dll
  1110. ;extension=php_xslt.dll
  1111. ;extension=php_yaz.dll
  1112. ;extension=php_zip.dll
  1113. ;/PHPExt